//
//  BanBu_NavButton.h
//  BanBu
//
//  Created by banbu3 on 7/20/13.
//
//

#import <UIKit/UIKit.h>


typedef enum {
    UIButtonCreatTypeNormal,
    UIButtonCreatTypeBack,
    UIButtonCreatTypeAdd,
    UIButtonCreatTypeList,
    UIButtonCreatTypeOther,
    UIButtonCreatTypeChatVoice,
    UIButtonCreatTypeChatLongPress,
    UIButtonCreatTypeChatText,
    UIButtonCreatTypeCustomBtn,
    UIButtonCreatTypeChatRound,
    UIButtonCreatTypeChatReturn
}ButtonCreatType;

typedef enum {
    ButtonPositionNone,
    ButtonPositionLeft,
    ButtonPositionRight
}ButtonPosition;//判断是否为导航控制器按钮,导航控制器的左右按钮 和非导航控制器按钮，为了适配iOS7 的导航控制器的按钮位置来进行改变的
@interface BanBu_NavButton : UIButton
{
    ButtonCreatType type;
}
@property (retain,nonatomic)NSMutableString *buttonName;
@property (nonatomic)ButtonPosition position;
-(id)initWithButtonType:(ButtonCreatType)buttonType;

@end
